<!doctype html>
<html>
    <head>
        <meta charset="utf-8"/>
        <title>四人定制网上商城</title>
        <script src="__PUBLIC__/js/jquery-1.8.1.js"></script>      
        <link href="__PUBLIC__/css/public.css" rel="stylesheet"/>
        <link href="__PUBLIC__/css/newindex.css" rel="stylesheet"/>
        <link href="__PUBLIC__/css/feedback.css" rel="stylesheet" type="text/css" />
        <link href="__PUBLIC__/css/shoploginbox.css" rel="stylesheet"/>
        <link href="__PUBLIC__/css/side_toolbar.css" rel="stylesheet" type="text/css">
        <link href="__PUBLIC__/css/topbar.css" rel="stylesheet" type="text/css">
          
    </head>

    <body>
    
  <div class="zc-topbar">
        <div class="wrapper clearfix">
            <div class="zc-login-info">
                <span class="zc-back-home"><a href="{:U('index')}">商城首页</a></span>
                <if condition="$_SESSION['login'] eq null">         
                   <span class="zc-login">Hi~欢迎来到四人定制商城，请<a href="{:U('Login/login')}">登录</a></span>
                    <span class="zc-register"><a href="{:U('Register/register')}">免费注册</a></span>
                <else />
                    <span class="zc-login">Hi~欢迎来到四人定制商城，<a href="{:U('User/index')}">{$_SESSION['login']['username']}</a></span>
                    <span class="zc-register"><a href="{:U('Login/loginout')}">退出</a></span>
                    
                </if>
            </div>
            <ul class="zc-quick-menu">
                <li><a href="{:U('Order/index')}">我的订单</a></li>
                <li class="zc-my-center" onmouseover="showUI(this)" onmouseout="hideUI(this)">
    
                    <a href="{:U('User/index')}" class="zc-hd" >买家中心<i class="ico"></i></a>
                    <div class="zc-my-center-bd" id="zc-my-center-bd" style="display:none;">
                        <a href="">关注的店铺&nbsp;&nbsp;<em id="focusShopNum">0</em></a>
                        <a href="">关注的商品&nbsp;&nbsp;<em id="focusGoodsNum">0</em></a>
                    </div>
                </li>
                <li><a href="{:U('Cart/index')}" id="shop-cart-num">购物车</a></li>
                    
                    <li class="lianxikefu"><a href="javascript:;"  onmouseover="showUI(this)" onmouseout="hideUI(this)" class="zc-hd">联系客服<i class="ico"></i></a>
                        <div class="zc-service-tel">400-678-0068</div>
                    </li>
                    
                </li>
            </ul>
        </div>
    </div> 
    <script>    
    var Z_now_time = "1446556752";
    var z_user_id = "";
    function showUI(obj) {
    var className = obj.className;
    if (className == "zc-my-center") {
    obj.className = "zc-my-center zc-hover";
    document.getElementById("zc-my-center-bd").style.display = "block";
    } else if (className == "zc-mobile") {
    obj.className = "zc-mobile zc-hover";
    document.getElementById("zc-mobile-bd").style.display = "block";
    } else {
    obj.parentNode.className = "lianxikefu zc-hover";
    obj.nextSibling.style.display = "block";
    }
    }
    function hideUI(obj) {
    var className = obj.className;
    if (className == "zc-my-center zc-hover") { 
    obj.className = "zc-my-center"; 
    document.getElementById("zc-my-center-bd").style.display = "none"; 
    } else if (className == "zc-mobile zc-hover") { 
    obj.className = "zc-mobile"; 
    document.getElementById("zc-mobile-bd").style.display = "none"; 
    } else {
    obj.parentNode.className = "lianxikefu";
    obj.nextSibling.style.display = "none";
    }    }
    
    </script>
        <div class="header clearfix">   
            <div class="logo activity-logo-11">
                <h1><a title="四人定制商城" href="" ><img src="__PUBLIC__/Picture/商城logo.jpg" alt=""></a></h1>
                <p>四人定制网上商城</p>
            </div>  
                <!-- 搜索框位置 -->
            <div class="search-box">
                <form action="{:U('Goods/goodslist?id='.$val['keyword'])}" method="get">
                    <input type="hidden" name="c" value="List">
                    <div class="search">
                        <input name="keyword" type="text" class="search-text" autocomplete="off" value="">
                        <input type="submit" value="搜 索" class="search-btn" hidefocus="true">
                    </div>
                </form>
                <div class="hot-search">
                    <a href="" target="_top">iPhone 6s</a>
                    <a href="" target="_top">iPhone 5s</a>
                    <a href="" target="_top">魅蓝2</a>
                    <a href="" target="_top">iPhone 6</a>
                    <a href="" target="_top">三星s6</a>
                </div>    
                    
            </div> 
            <!-- 迷你logo 
            <div class="ad-div"><a href="http://go.zol.com/topic/5062097.html?spm=657.35517" target="_top">
                <img width="180" height="60" src="Picture/chmkjlycpziidmcxaab2sdybfdcaadnzqkpvyiaahbj372.jpg" alt="ZOL商城承诺"></a>
            </div>
            -->
        </div>
<!-- 导航条 -->
        <div class="nav-box">
            <div class="category-nav-container">
                <h2 class="category-nav-title">商品分类</h2>
                    <div class="category-menu-nav">
                        <ul class="menu-nav-container">
                            
                            <foreach name="pid" item="val" >
                             <li rel="1" id="subCateKey1">
                                    <div class="item">
                                        <a href="{:U('Goods/goodslist?id='.$val['id'])}" target="_top">{$val['name']}</a>
                                    </div>                                
            <div class="category-menu-content category-1">                      
                <dl class="service">
                    <dt><a href="" target="_top">服务保障</a></dt>
                        <dd class="clearfix"><a href="" target="_top"><i class="iconfont">&#xe609;</i>行货保证</a><a href="#"><i class="iconfont">&#xe60b;</i>发票保障</a><a href="" target="_top"><i class="iconfont">&#xe60f;</i>24小时发货</a><a href="" target="_top"><i class="iconfont">&#xe60e;</i>顺丰包邮</a><a href="" target="_top"><i class="iconfont">&#xe60d;</i>无忧退换</a><a href="" target="_top"><i class="iconfont">&#xe60a;</i>先行赔付</a></dd>
                </dl> 
                <foreach name="val['pid']" item="val2" key="k2">
                <dl>
                    <dt><a href="{:U('Goods/goodslist?id='.$val2['id'])}" target="_top">{$val2.name}</a></dt>
                        <dd>
                            <p>
                                 <foreach name="val2['pid']" item="val3" key="k3">
                                    |<a href="{:U('Goods/goodslist?id='.$val3['id'])}" target="_top">{$val3['name']}</a>
                                </foreach>
                            </p>                            
                        </dd>
                </dl> 
                </foreach>
            </div>
            </li>   
            </foreach>
                                                           
          </ul>
        </div>                
                <!--导航补全 可要可不要-->
            <div class="ad-div"><a href="" target="_top"><img width="200" height="70" src="__PUBLIC__/imgs/chmkj1x3fngiugspaacaxtwdo_caacoramvteqaaidd868.jpg"></a>
            </div>
                <!--导航补全-->
                    
            </div>
<!-- 导航栏右侧logo-->
            <ul class="nav clearfix">
                <li class="current"><a href="{:U('Index/index')}">首页</a></li>
                <foreach name="pid" item="val">
                <li ><a href="{:U('Goods/goodslist?id='.$val['id'])}" target="_top">{$val.name}</a></li>
                </foreach>                 
            </ul>
            <div class="nav-tips"><a href="" target="_top">买手机 专业省钱又放心</a></div>
          <div class="activity-bb-11">
                <span class="left"><img src="__PUBLIC__/imgs/left.png"></span>
                <span class="right"><img src="__PUBLIC__/imgs/right.png"></span>
            </div> 
        </div>
